package jUnitTest;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import businessLogic.OrderManageBLService;
import businessLogic.OrderManage_Stub;

public class OrderManageBLServiceTest {
	
	private OrderManageBLService order;

	@Before
	public void setUp() throws Exception {
		order = new OrderManage_Stub(null);
	}

	@Test
	public void testLogin() {
		boolean result = order.login("admin", "admin");
		assertEquals(false, result);
	}

	@Test
	public void testGetOrder() {
		assertNull("false", order.getOrder(null));
	}

	@Test
	public void testChangeState() {
		order.changeState();
	}

	@Test
	public void testAddOrder() {
		order.addOrder(null);
	}

	@Test
	public void testDeleteOrder() {
		order.deleteOrder(null);
	}

}
